﻿namespace SpiderMonkey
{
    /// <summary>
    /// The values of the JSVersion enumerated type stand for particular versions of the JavaScript run-time.
    /// </summary>
    public enum Version
    {
        // ReSharper disable InconsistentNaming
        JS1_0 = 100,
        JS1_1 = 110,
        JS_1_2 = 120,
        JS_1_3 = 130,
        JS_1_4 = 140,
        ECMA_3 = 148,
        JS_1_5 = 150,
        JS_1_6 = 160,
        JS_1_7 = 170,
        JS_1_8 = 180,
        ECMA_5 = 185,
        Default = 0,
        Unknown = -1,
        Latest = ECMA_5
        // ReSharper restore InconsistentNaming
    }
}
